package com.accompany.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 游戏表
 * </p>
 *
 * @author DC
 * @since 2024-12-26
 */
@Data
@Schema(name = "Games对象", description = "游戏表")
public class Game implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(name = "name", description = "游戏名称")
    private String name;

    @Schema(name = "icon", description = "游戏图标")
    private String icon;

    @Schema(name = "banner", description = "游戏banner")
    private String banner;

    @Schema(name = "description", description = "游戏描述")
    private String description;

    @Schema(name = "status", description = "状态 0:下架 1:上架")
    private Byte status;

    @Schema(name = "sort", description = "排序")
    private Integer sort;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;
}
